<?php
class Gallery extends AppModel{
	public $validate = array(
		'image' => array(
			'rule'     => 'notEmpty',
			'required' => true,
			'message' => 'Image field is required.'
		)
	);
}
?>